package com.zimmur.dao.zone;


import java.util.List;

import com.zimmur.model.zone.TopicPicture;
/**
 * 话题图片Dao
 * @author Administrator
 *
 */
public interface ITopicPictureDao {
    /**
	 * 图片，备注
	 * @param topic
	 */
    int insertTopicPicture(TopicPicture  topicPicture);
    /**
     * 按话题ID查询其第一条数据
     * @param topicPicture
     * @return
     */
    TopicPicture selectOneTopicPicture(TopicPicture  topicPicture);
    /**
     * 按话题ID查询
     * @param topicPicture
     * @return
     */
    List<TopicPicture> selectByTopicIdTopicPictureList(long  topicId);
}